using Jaws.Core.Web.Entities;

namespace Jaws.Core.Web.Mvc.ViewModels
{
    public class JawsModelItems<C, T> : JawsModel where T : XmlBusinessBase<T>, new() where C : XmlCollectionBase<C, T>, new()
    {
        public JawsModelItems()
        {
            Item = new XmlCollectionBase<C, T>();
            Item = XmlCollectionBase<C, T>.Load();
        }

        public XmlCollectionBase<C, T> Item { get; set; }
    }
}